<!DOCTYPE html>
<html>
    <head>
        <title>iChat</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
    </head>
    <body>
        <form  method="post" action="exchange.php" >
            from:
            <select name="msg_from">
                <option value="Jack">Jack</option>
                <option value="Rose">Rose</option>
            </select>
            <br/>
            to:
            <select name="msg_to">
                <option value="Jack">Jack</option>
                <option value="Rose">Rose</option>
            </select>
            <br/>
            message:
            <input type="text" name="msg"/>
            <br/>
            <input type="submit" value="send"/>
        </form>
    </body>
</html>
